package com.tengju.bff.interfaces.manage.platform.rule.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "FullMatchRuleNodeVO", description = "全匹配规则请求参数")
public class FullMatchRuleNodeVO {

    @ApiModelProperty(value = "条件")
    @NotNull(message = "条件不能为空")
    List<ConditionVO> conditions;

    @ApiModelProperty(value = "动作")
    @NotNull(message = "动作不能为空")
    List<ActionVO> actions;

}
